package com.ftg.learn.bus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 参数表
 * </p>
 *
 * @author lalala
 * @since 2022-03-07
 */
@TableName("sys_parameter")
@ApiModel(value = "Parameter对象", description = "参数表")
public class Parameter implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("参数表id")
    @TableId(value = "pid", type = IdType.AUTO)
    private Long pid;

    @ApiModelProperty("参数名称")
    private String pname;

    @ApiModelProperty("上级目录")
    private Long parentId;

    @ApiModelProperty("描述")
    private String describe;

    @ApiModelProperty("状态")
    private String status;

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }
    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }
    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }
    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Parameter{" +
            "pid=" + pid +
            ", pname=" + pname +
            ", parentId=" + parentId +
            ", describe=" + describe +
            ", status=" + status +
        "}";
    }
}
